#ifndef __REMOTE_H__
#define __REMOTE_H__ 
#include <ESP8266WiFi.h> 
#include "protocol.h"
extern WiFiClient client;
 // 你的服务器 IP
const uint16_t remote_port = 8000;
extern unsigned long lastDataTime;
String getRemoteIP();
void checkConnection();
bool ConnectRemote(String remote_ip);
bool RemoteDataUpdated();
#endif